import {createStackNavigator} from 'react-navigation-stack';
import SignInScreen from '../pages/singin/sign-in-screen';
import AgreementScreen from '../pages/agreement/agreement-screen';
import ForgetPwdScreen from '../pages/register/forgetpwd-screen';
import SelectRoleScreen from '../pages/register/select-role-screen';
import RegisterScreen from '../pages/register/register-screen';
import ApplicationMaterialScreen from '../pages/register/application-material-screen';
import ProductSettingScreen from '../pages/register/product-setting-screen';
import LocationScreen from '../pages/location/location-screen';

const AuthNavigator = createStackNavigator(
  {
    SignIn: SignInScreen,
    Agreement: AgreementScreen,
    ForgetPWD: ForgetPwdScreen,
    SelectRole: SelectRoleScreen,
    Register: RegisterScreen,
    ApplicationMaterial: ApplicationMaterialScreen,
    ProductSetting: ProductSettingScreen,
    RegisterLocation: LocationScreen,
  },
  {
    initialRouteName: 'SignIn',
  },
);

export default AuthNavigator;
